Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/staking and reward tokens #1

Merged
merged 6 commits into from
Jan 7, 2024

Conversation

sayandcode
Copy link
Owner

What?

This PR adds contracts for Staking and Reward ERC20 tokens.

Why?

These are required by the Staking Contract (todo) in order to manage liquidity and incentives.

How?

We have made use of the Open Zeppelin Contracts library, and implemented our ERC20's accordingly. The reward and staking tokens have additional functionality as per their anticipated use by the Staking Contract. This is however tentative and subject to change.

The contract has a special `requestSampleTokens` function which can be
used to try the dapp for free. This eventually needs to be made gasless
Some minor style changes were also made to make the visibility of
storage variables more explicit
This event is emitted when the user requests a sample of FST tokens.
In order to get around the 0.8.21 bug regarding usage of event from
interfaces, we also had to update all contracts to 0.8.23
@sayandcode sayandcode merged commit 3654634 into main Jan 7, 2024
1 check passed
@sayandcode sayandcode deleted the feature/staking-and-reward-tokens branch January 7, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant